package com.xmy.cultivate.entity.views;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xmy.cultivate.enums.ArriveAffirmEnum;
import com.xmy.cultivate.enums.OrderTypeEnum;
import com.xmy.cultivate.enums.StatusOrderApplyEnum;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class BackOrderApply {
    /**
     * id
     */

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 订单号
     */
    private String orderNo;

    /**
     * 收据编号
     */
    private String receiptNo;

    /**
     * 应收金额
     */
    private BigDecimal price;

    /**
     * 实收金额
     */
    private BigDecimal solidPrice;

    /**
     * 费用类型，1收入，2支出
     */
    private Integer costType;

    /**
     * 学生id
     */

    private Long studentId;

    private String studentName;

    /**
     * 经办校区id
     */

    private Long handleSchoolId;

    /**
     * 经办校区名
     */
    private String handleSchoolName;

    /**
     * 经办日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate handleDate;

    private Long schoolId;

    private String tradeContent;

    /**
     * 经办人
     */
    private Long handlePersonId;

    private String handlePersonName;

    private LocalDate discountsDate;

    private OrderTypeEnum orderType;

    private String linkman;

    private String linkmanPhone;

    private Integer yearPart;

    private Integer quarterNum;
}
